<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .faster {
        background-color: black;
        border: 1px solid red;
        overflow: hidden;
      }
      .faster div {
        width: 100px;
        height: 100px;
        margin-top: 20px;
        margin-left: 20px;
      }
      .faster div:nth-child(1) {
        margin-top: 20px;
        background-color: yellow;
        float: left;
      }
      .faster div:nth-child(2) {
        background-color: saddlebrown;
        float: left;
      }

      .faster div:nth-child(3) {
        background-color: aqua;
        float: left;
      }
    </style>
  </head>
  <body>
    <div class="faster">
      <div>盒子1</div>
      <div>盒子2</div>
      <div>盒子3</div>
    </div>
  </body>
</html>
